package com.joymido.midi;

import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;

public class MidiDriver{
    static {
        System.loadLibrary("mididriver");
    }
    public boolean play(int note){
        return play(note,127);
    }
    public native boolean initSF(String path);
    public native boolean play(int note,int vel);
    public native boolean stop(int note);
    public native void destroy();
}
